﻿
namespace XmlSockets.Internal
{
    /// <summary>
    /// 
    /// </summary>
    internal interface IXmlSocketReceiveContent
    {
        /// <summary>
        /// 
        /// </summary>
        int ReceiveLength { get; }


        /// <summary>
        /// 
        /// </summary>
        /// <param name="buffer"></param>
        /// <param name="offset"></param>
        /// <returns></returns>
        int Read(byte[] buffer, int offset);
    }
}
